package com.ruyuan.seckilling.common;

/**
 * @author zhonghuashishan
 */
public final class FileNameUtils {

    public static String generateSeckillingActivityFilename(Long activityId) {
        return generateFilename("seckilling_activity_", activityId);
    }

    public static String generateSeckillingProductFilename(Long skuId) {
        return generateFilename("seckilling_product_", skuId);
    }

    private static String generateFilename(String bizPrefix, Long bizBussinessId) {
        return bizPrefix + bizBussinessId + ".html";
    }

}
